package com.blindbox.consumer.controller;

import com.blindbox.consumer.service.TestService;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author zk
 * @date 2022年07月16日 11:31
 */
@RestController
@RequestMapping("/api/test/")
@Api
public class TestController {
    @Resource
    private TestService service;
    @GetMapping("t2.do")
    public String t2(){
        return service.t2();
    }
}
